package com.scan.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.scan.dao.mapper.VoteActiverMapper;
import com.scan.dao.model.VoteActiver;
import com.scan.service.VoteActiverService;

/**
 * Created by tancw on 2017/2/10.
 */
@Service
public class VoteActiverServiceImpl implements VoteActiverService {
    @Autowired
    private VoteActiverMapper voteActiverMapper;

    @Override
    public int create(VoteActiver activer) {
        return voteActiverMapper.insert(activer);
    }
}
